package com.example.comsumer.bean;

import com.wr.api.AInterface;
import org.apache.dubbo.config.annotation.Reference;
import org.springframework.stereotype.Component;

/**
 * @author 王瑞
 * @description: TODO
 * @date 2020/4/16  10:54
 */
@Component
public class ComsumerServiceForProA {

    @Reference
    private AInterface aInterface;

    public String comsumerServiceMethod(String name){
        String s = aInterface.sayHello_A(name);

        return s;
    }
}
